package logic

import (
	"context"

	"wang/wangrpc/internal/svc"
	"wang/wangrpc/wangrpc"

	"github.com/zeromicro/go-zero/core/logx"
)

type CaLogic struct {
	ctx    context.Context
	svcCtx *svc.ServiceContext
	logx.Logger
}

func NewCaLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CaLogic {
	return &CaLogic{
		ctx:    ctx,
		svcCtx: svcCtx,
		Logger: logx.WithContext(ctx),
	}
}

func (l *CaLogic) Ca(in *wangrpc.CaRequest) (*wangrpc.CaResponse, error) {
	// todo: add your logic here and delete this line

	return &wangrpc.CaResponse{}, nil
}
